/**

This file is part of MaCI/GIMnet.

MaCI/GIMnet is free software: you can redistribute it and/or modify it 
under the terms of the GNU Lesser General Public License as published 
by the Free Software Foundation, either version 3 of the License, or 
(at your option) any later version.

MaCI/GIMnet is distributed in the hope that it will be useful, but WITHOUT 
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public 
License for more details.

You should have received a copy of the GNU Lesser General Public 
License along with GIMnet. (See COPYING.LESSER) If not, see 
<http://www.gnu.org/licenses/>.

**/
#ifndef __MuRoSettings_hpp_
#define __MuRoSettings_hpp_

#include <string>
#include <vector>

namespace MuRo
{

struct TColor
{
  TColor(unsigned char r, unsigned char g, unsigned char b)
  :r(r),g(g),b(b)
  {}
  
  unsigned char r,g,b;
};

struct TMuRoSettings
{
  TMuRoSettings();

  bool SaveXMLFile(const std::string &aXmlFilename, const std::string &aRootKey);
  bool LoadXMLFile(const std::string &aXmlFilename, const std::string &aRootKey);
  
  /**connection settings**/
  
  
  /**display settings**/
  //colors - general
  TColor BackgroundColor;
  TColor GridColor;
  TColor AxesColor;
  //colors - devices
  TColor RangingColor;
  TColor UnitColor;
  
  int ShowGrid;
  float GridSize;
  
  //zoom - pixels per meter
  int ZoomMax;
  int ZoomMin;
  
};

}

#endif